Integrand size = 23, antiderivative size = 374 \[ \int x^3 \left (d+e x^2\right )^{3/2} \left (a+b \sec ^{-1}(c x)\right ) \, dx=\frac {b \left (3 c^4 d^2-38 c^2 d e-25 e^2\right ) x \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{560 c^5 e \sqrt {c^2 x^2}}-\frac {b \left (13 c^2 d+25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e \sqrt {c^2 x^2}}-\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e \sqrt {c^2 x^2}}-\frac {d \left (d+e x^2\right )^{5/2} \left (a+b \sec ^{-1}(c x)\right )}{5 e^2}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \sec ^{-1}(c x)\right )}{7 e^2}-\frac {2 b c d^{7/2} x \arctan \left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {-1+c^2 x^2}}\right )}{35 e^2 \sqrt {c^2 x^2}}+\frac {b \left (35 c^6 d^3-35 c^4 d^2 e-63 c^2 d e^2-25 e^3\right ) x \text {arctanh}\left (\frac {\sqrt {e} \sqrt {-1+c^2 x^2}}{c \sqrt {d+e x^2}}\right )}{560 c^6 e^{3/2} \sqrt {c^2 x^2}} \]
[Out]
Time = 0.35 (sec) , antiderivative size = 374, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.522, Rules used = {272, 45, 5346, 12, 587, 159, 163, 65, 223, 212, 95, 210} \[ \int x^3 \left (d+e x^2\right )^{3/2} \left (a+b \sec ^{-1}(c x)\right ) \, dx=-\frac {d \left (d+e x^2\right )^{5/2} \left (a+b \sec ^{-1}(c x)\right )}{5 e^2}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \sec ^{-1}(c x)\right )}{7 e^2}-\frac {2 b c d^{7/2} x \arctan \left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {c^2 x^2-1}}\right )}{35 e^2 \sqrt {c^2 x^2}}+\frac {b x \left (35 c^6 d^3-35 c^4 d^2 e-63 c^2 d e^2-25 e^3\right ) \text {arctanh}\left (\frac {\sqrt {e} \sqrt {c^2 x^2-1}}{c \sqrt {d+e x^2}}\right )}{560 c^6 e^{3/2} \sqrt {c^2 x^2}}-\frac {b x \sqrt {c^2 x^2-1} \left (d+e x^2\right )^{5/2}}{42 c e \sqrt {c^2 x^2}}-\frac {b x \sqrt {c^2 x^2-1} \left (13 c^2 d+25 e\right ) \left (d+e x^2\right )^{3/2}}{840 c^3 e \sqrt {c^2 x^2}}+\frac {b x \sqrt {c^2 x^2-1} \left (3 c^4 d^2-38 c^2 d e-25 e^2\right ) \sqrt {d+e x^2}}{560 c^5 e \sqrt {c^2 x^2}} \]
[In]
[Out]
Rule 12
Rule 45
Rule 65
Rule 95
Rule 159
Rule 163
Rule 210
Rule 212
Rule 223
Rule 272
Rule 587
Rule 5346
Rubi steps \begin{align*} \text {integral}& = -\frac {d \left (d+e x^2\right )^{5/2} \left (a+b \sec ^{-1}(c x)\right )}{5 e^2}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \sec ^{-1}(c x)\right )}{7 e^2}-\frac {(b c x) \int \frac {\left (d+e x^2\right )^{5/2} \left (-2 d+5 e x^2\right )}{35 e^2 x \sqrt {-1+c^2 x^2}} \, dx}{\sqrt {c^2 x^2}} \\ & = -\frac {d \left (d+e x^2\right )^{5/2} \left (a+b \sec ^{-1}(c x)\right )}{5 e^2}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \sec ^{-1}(c x)\right )}{7 e^2}-\frac {(b c x) \int \frac {\left (d+e x^2\right )^{5/2} \left (-2 d+5 e x^2\right )}{x \sqrt {-1+c^2 x^2}} \, dx}{35 e^2 \sqrt {c^2 x^2}} \\ & = -\frac {d \left (d+e x^2\right )^{5/2} \left (a+b \sec ^{-1}(c x)\right )}{5 e^2}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \sec ^{-1}(c x)\right )}{7 e^2}-\frac {(b c x) \text {Subst}\left (\int \frac {(d+e x)^{5/2} (-2 d+5 e x)}{x \sqrt {-1+c^2 x}} \, dx,x,x^2\right )}{70 e^2 \sqrt {c^2 x^2}} \\ & = -\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e \sqrt {c^2 x^2}}-\frac {d \left (d+e x^2\right )^{5/2} \left (a+b \sec ^{-1}(c x)\right )}{5 e^2}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \sec ^{-1}(c x)\right )}{7 e^2}-\frac {(b x) \text {Subst}\left (\int \frac {(d+e x)^{3/2} \left (-6 c^2 d^2+\frac {1}{2} e \left (13 c^2 d+25 e\right ) x\right )}{x \sqrt {-1+c^2 x}} \, dx,x,x^2\right )}{210 c e^2 \sqrt {c^2 x^2}} \\ & = -\frac {b \left (13 c^2 d+25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e \sqrt {c^2 x^2}}-\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e \sqrt {c^2 x^2}}-\frac {d \left (d+e x^2\right )^{5/2} \left (a+b \sec ^{-1}(c x)\right )}{5 e^2}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \sec ^{-1}(c x)\right )}{7 e^2}-\frac {(b x) \text {Subst}\left (\int \frac {\sqrt {d+e x} \left (-12 c^4 d^3-\frac {3}{4} e \left (3 c^4 d^2-38 c^2 d e-25 e^2\right ) x\right )}{x \sqrt {-1+c^2 x}} \, dx,x,x^2\right )}{420 c^3 e^2 \sqrt {c^2 x^2}} \\ & = \frac {b \left (3 c^4 d^2-38 c^2 d e-25 e^2\right ) x \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{560 c^5 e \sqrt {c^2 x^2}}-\frac {b \left (13 c^2 d+25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e \sqrt {c^2 x^2}}-\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e \sqrt {c^2 x^2}}-\frac {d \left (d+e x^2\right )^{5/2} \left (a+b \sec ^{-1}(c x)\right )}{5 e^2}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \sec ^{-1}(c x)\right )}{7 e^2}-\frac {(b x) \text {Subst}\left (\int \frac {-12 c^6 d^4-\frac {3}{8} e \left (35 c^6 d^3-35 c^4 d^2 e-63 c^2 d e^2-25 e^3\right ) x}{x \sqrt {-1+c^2 x} \sqrt {d+e x}} \, dx,x,x^2\right )}{420 c^5 e^2 \sqrt {c^2 x^2}} \\ & = \frac {b \left (3 c^4 d^2-38 c^2 d e-25 e^2\right ) x \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{560 c^5 e \sqrt {c^2 x^2}}-\frac {b \left (13 c^2 d+25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e \sqrt {c^2 x^2}}-\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e \sqrt {c^2 x^2}}-\frac {d \left (d+e x^2\right )^{5/2} \left (a+b \sec ^{-1}(c x)\right )}{5 e^2}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \sec ^{-1}(c x)\right )}{7 e^2}+\frac {\left (b c d^4 x\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {-1+c^2 x} \sqrt {d+e x}} \, dx,x,x^2\right )}{35 e^2 \sqrt {c^2 x^2}}+\frac {\left (b \left (35 c^6 d^3-35 c^4 d^2 e-63 c^2 d e^2-25 e^3\right ) x\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1+c^2 x} \sqrt {d+e x}} \, dx,x,x^2\right )}{1120 c^5 e \sqrt {c^2 x^2}} \\ & = \frac {b \left (3 c^4 d^2-38 c^2 d e-25 e^2\right ) x \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{560 c^5 e \sqrt {c^2 x^2}}-\frac {b \left (13 c^2 d+25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e \sqrt {c^2 x^2}}-\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e \sqrt {c^2 x^2}}-\frac {d \left (d+e x^2\right )^{5/2} \left (a+b \sec ^{-1}(c x)\right )}{5 e^2}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \sec ^{-1}(c x)\right )}{7 e^2}+\frac {\left (2 b c d^4 x\right ) \text {Subst}\left (\int \frac {1}{-d-x^2} \, dx,x,\frac {\sqrt {d+e x^2}}{\sqrt {-1+c^2 x^2}}\right )}{35 e^2 \sqrt {c^2 x^2}}+\frac {\left (b \left (35 c^6 d^3-35 c^4 d^2 e-63 c^2 d e^2-25 e^3\right ) x\right ) \text {Subst}\left (\int \frac {1}{\sqrt {d+\frac {e}{c^2}+\frac {e x^2}{c^2}}} \, dx,x,\sqrt {-1+c^2 x^2}\right )}{560 c^7 e \sqrt {c^2 x^2}} \\ & = \frac {b \left (3 c^4 d^2-38 c^2 d e-25 e^2\right ) x \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{560 c^5 e \sqrt {c^2 x^2}}-\frac {b \left (13 c^2 d+25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e \sqrt {c^2 x^2}}-\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e \sqrt {c^2 x^2}}-\frac {d \left (d+e x^2\right )^{5/2} \left (a+b \sec ^{-1}(c x)\right )}{5 e^2}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \sec ^{-1}(c x)\right )}{7 e^2}-\frac {2 b c d^{7/2} x \arctan \left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {-1+c^2 x^2}}\right )}{35 e^2 \sqrt {c^2 x^2}}+\frac {\left (b \left (35 c^6 d^3-35 c^4 d^2 e-63 c^2 d e^2-25 e^3\right ) x\right ) \text {Subst}\left (\int \frac {1}{1-\frac {e x^2}{c^2}} \, dx,x,\frac {\sqrt {-1+c^2 x^2}}{\sqrt {d+e x^2}}\right )}{560 c^7 e \sqrt {c^2 x^2}} \\ & = \frac {b \left (3 c^4 d^2-38 c^2 d e-25 e^2\right ) x \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{560 c^5 e \sqrt {c^2 x^2}}-\frac {b \left (13 c^2 d+25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e \sqrt {c^2 x^2}}-\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e \sqrt {c^2 x^2}}-\frac {d \left (d+e x^2\right )^{5/2} \left (a+b \sec ^{-1}(c x)\right )}{5 e^2}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \sec ^{-1}(c x)\right )}{7 e^2}-\frac {2 b c d^{7/2} x \arctan \left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {-1+c^2 x^2}}\right )}{35 e^2 \sqrt {c^2 x^2}}+\frac {b \left (35 c^6 d^3-35 c^4 d^2 e-63 c^2 d e^2-25 e^3\right ) x \text {arctanh}\left (\frac {\sqrt {e} \sqrt {-1+c^2 x^2}}{c \sqrt {d+e x^2}}\right )}{560 c^6 e^{3/2} \sqrt {c^2 x^2}} \\ \end{align*}
Result contains higher order function than in optimal. Order 6 vs. order 3 in optimal.
Time = 1.58 (sec) , antiderivative size = 305, normalized size of antiderivative = 0.82 \[ \int x^3 \left (d+e x^2\right )^{3/2} \left (a+b \sec ^{-1}(c x)\right ) \, dx=\frac {96 a \left (d+e x^2\right )^3 \left (-2 d+5 e x^2\right )-\frac {2 b e \sqrt {1-\frac {1}{c^2 x^2}} x \left (d+e x^2\right ) \left (75 e^2+2 c^2 e \left (82 d+25 e x^2\right )+c^4 \left (57 d^2+106 d e x^2+40 e^2 x^4\right )\right )}{c^5}+\frac {3 b \left (-32 c^4 d^4 \sqrt {1+\frac {d}{e x^2}} \operatorname {AppellF1}\left (1,\frac {1}{2},\frac {1}{2},2,\frac {1}{c^2 x^2},-\frac {d}{e x^2}\right )-\frac {e \left (35 c^6 d^3-35 c^4 d^2 e-63 c^2 d e^2-25 e^3\right ) \sqrt {1-\frac {1}{c^2 x^2}} x^4 \sqrt {1+\frac {e x^2}{d}} \operatorname {AppellF1}\left (1,\frac {1}{2},\frac {1}{2},2,c^2 x^2,-\frac {e x^2}{d}\right )}{\sqrt {1-c^2 x^2}}\right )}{c^5 x}+96 b \left (d+e x^2\right )^3 \left (-2 d+5 e x^2\right ) \sec ^{-1}(c x)}{3360 e^2 \sqrt {d+e x^2}} \]
[In]
[Out]
\[\int x^{3} \left (e \,x^{2}+d \right )^{\frac {3}{2}} \left (a +b \,\operatorname {arcsec}\left (c x \right )\right )d x\]
[In]
[Out]
none
Time = 2.31 (sec) , antiderivative size = 1701, normalized size of antiderivative = 4.55 \[ \int x^3 \left (d+e x^2\right )^{3/2} \left (a+b \sec ^{-1}(c x)\right ) \, dx=\text {Too large to display} \]
[In]
[Out]
Timed out. \[ \int x^3 \left (d+e x^2\right )^{3/2} \left (a+b \sec ^{-1}(c x)\right ) \, dx=\text {Timed out} \]
[In]
[Out]
Exception generated. \[ \int x^3 \left (d+e x^2\right )^{3/2} \left (a+b \sec ^{-1}(c x)\right ) \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
\[ \int x^3 \left (d+e x^2\right )^{3/2} \left (a+b \sec ^{-1}(c x)\right ) \, dx=\int { {\left (e x^{2} + d\right )}^{\frac {3}{2}} {\left (b \operatorname {arcsec}\left (c x\right ) + a\right )} x^{3} \,d x } \]
[In]
[Out]
Timed out. \[ \int x^3 \left (d+e x^2\right )^{3/2} \left (a+b \sec ^{-1}(c x)\right ) \, dx=\int x^3\,{\left (e\,x^2+d\right )}^{3/2}\,\left (a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )\right ) \,d x \]
[In]
[Out]